import subprocessfileIN = open("List.txt", "r")program = 'TotalValidatorCL.exe -hideresults -level 2 -pages 0 -dtd "XHTML 1.0 Transitional" -accessibility AAA2 -css 2.1 -brokenlinks -timeout 15 -resultsfolder J:\Master\Thesis\Results\ValidatorResults -uniquereport'while 1:	   line = fileIN.readline()   if not line: break   executable = program + ' -url ' + line.strip()   subprocess.call(executable)   #print(executable)fileIN.close()